#idf_component_register(SRCS "main.c"
#                    INCLUDE_DIRS ".")

set(src
"main.c"
"func.c"
adc/adc.c
buttons/buttons.c
console/console.c
display/st7789/st7789.c
display/fonts/f6x8m.c
display/fonts/f16f.c
display/fonts/f24f.c
display/fonts/f32f.c
display/fonts/font.c
display/dispcolor.c
idw/Bilinear.c
idw/Gauss.c
menu/menu.c
messagebox/messagebox.c
mlx90640/mlx.c
mlx90640/MLX90640_API.c
mlx90640/MLX90640_I2C_Driver.c
palette/palette.c
save/save.c
save/sd.c
settings/settings.c
sleep/sleep.c
ui/ui.c
)

set(inc
""
"."
adc
buttons
console
display/st7789
display/fonts
idw
menu
messagebox
mlx90640
palette
save
settings
sleep
ui
)

idf_component_register(
    SRCS ${src}
    INCLUDE_DIRS ${inc}
)